03a17e2fc29b0557c9be573bd15bc6681a69ff70,hazelcast/src/main/java/com/hazelcast/impl/map/MapProxy.java,MapProxy,put,#String#Object#Object#number#,35
Before Change
int partitionId = nodeService.getPartitionId(key);
PutOperation putOperation = new PutOperation(name, toData(k), v, ttl);
try {
Data response = (Data) nodeService.invokeOptimistically(MAP_SERVICE_NAME, putOperation, partitionId).get();
return toObject(response);
} catch (Throwable throwable) {
throw new RuntimeException(throwable);
After Change
int partitionId = nodeService.getPartitionId(key);
PutOperation putOperation = new PutOperation(name, toData(k), v, ttl);
try {
Invocation invocation = nodeService.createSinglePartitionInvocation(MAP_SERVICE_NAME, putOperation, partitionId).build();
Future f = invocation.invoke();
Data response = (Data) f.get();
return toObject(response);
} catch (Throwable throwable) {